package com.example.orderminiappapi.dao;

import com.example.orderminiappapi.bean.Score;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ScoreDao {
    int insertSearchScore(Score score);     //  在SearchScore表中插入该角色的记录

    Score getSearchScoreById(Score score);  //  查询该角色在SearchScore表中有无记录

    int addSearchScore(Score score);        //  为score分数加一
}
